package com.mikey.single;

/**
 * @author :Mikey
 * @description :静态内部类
 * @create :2022-09-27 14:41:00
 */
public class Holder {
    private Holder(){

    }
    public static Holder getInstance(){
        return InnerClass.HOLDER;
    }
    public static class InnerClass{
        private static final Holder HOLDER=new Holder();
    }
}
